package org.icress.fusion.birt

class Report {

    String author
    String title
    String createdBy
    String description
    String comment
    String units
    String helpGuide
    String name
    String file
    String fullfile
    
    static hasMany = [ reportParameters : ReportParameter ]
    
    static constraints = {
        author(maxSize:10)
        title(maxSize:50)
        createdBy(maxSize:100)
        description(maxSize:255)
        comment(maxSize:50)
        units(maxSize:50)
        helpGuide(maxSize:100)
        name(maxSize:50)
        file(maxSize:255)
        fullfile(maxSize:255)
    }
    
    static mapping = {
        table 'BIRT$REPORT'
        file column: "report_file"
    }

}
